package cn.sdormitory.canteen.dao;


import cn.sdormitory.canteen.vo.FoodOrderVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import cn.sdormitory.canteen.vo.FoodHealthCartVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FoodHealthCartDao extends BaseMapper<FoodHealthCartVO> {

    /**
     * 查询超过预警阈值的健康证
     * @return
     */
    List<FoodHealthCartVO> getOverdueHealthCartList(@Param("days") Integer days);
}